package jsu.blogger.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Message {
//这个专门指私信消息
    private Long messageId; // 消息的唯一标识

    private Long senderId; // 发送者的用户ID

    private Long receiverId; // 接收者的用户ID

    private String content; // 消息内容

    private LocalDateTime createdAt; // 消息创建时间

    private Boolean isAccepted = false; // 消息是否已被接受
}